import request from '@/utils/request'

// 查询远程控制记录列表
export function listRemoteControlRecord(query) {
  return request({
    url: '/basic/remoteControlRecord/list',
    method: 'get',
    params: query
  })
}

// 查询远程控制记录详细
export function getRemoteControlRecord(id) {
  return request({
    url: '/basic/remoteControlRecord/' + id,
    method: 'get'
  })
}

// 新增远程控制记录
export function addRemoteControlRecord(data) {
  return request({
    url: '/basic/remoteControlRecord',
    method: 'post',
    data: data
  })
}

// 修改远程控制记录
export function updateRemoteControlRecord(data) {
  return request({
    url: '/basic/remoteControlRecord',
    method: 'put',
    data: data
  })
}

// 删除远程控制记录
export function delRemoteControlRecord(id) {
  return request({
    url: '/basic/remoteControlRecord/' + id,
    method: 'delete'
  })
}

// 导出远程控制记录
export function exportRemoteControlRecord(query) {
  return request({
    url: '/basic/remoteControlRecord/export',
    method: 'get',
    params: query
  })
}